package cn.steel.domain.entity;

import lombok.Data;


@Data
public class OrderItem {
    private Long id;               // 订单项ID
    private Long orderId;          // 订单ID
    private Long productId;        // 商品ID
    private String productName;    // 商品名称
    private String specification;  // 规格参数(JSON格式)
    private Integer quantity;      // 数量
    private Double price;          // 单价
    private Double totalPrice;     // 总价
    private Long supplierId;       // 供应商ID
    private String supplierName;   // 供应商名称
    private Long buyerId;
}
